package com.sky.loveshop.service;

import com.github.pagehelper.PageInfo;
import com.sky.loveshop.entity.StockChangeHistory;
import com.sky.loveshop.entity.exception.BizException;
import com.sky.loveshop.entity.qo.StockChangeHistoryQO;
import com.sky.loveshop.entity.vo.StockChangeHistoryVO;

import java.util.List;

/**
 * @author xcy
 * @version V1.0
 * @description
 * @date 2024/8/18 0:05
 */
public interface StockChangeHistoryService {

    List<StockChangeHistoryVO> listStockChangeHistory(StockChangeHistoryQO qo);

    PageInfo<StockChangeHistoryVO> listStockChangeHistoryPages(StockChangeHistoryQO qo);

    StockChangeHistoryVO getStockChangeHistoryById(Integer id) throws BizException;

    List<StockChangeHistoryVO> getStockChangeHistoryListByIds(List<Integer> ids);

    Integer addStockChangeHistory(StockChangeHistory stockChangeHistory);

}
